import java.util.Iterator;
import java.util.LinkedList;
import java.util.Vector;


public class LinkedListDemo {
	
	public static void main(String[] args) {
		Vector myList = new Vector();

		//System.out.println();
		
		
		Iterator iter = myList.listIterator(2);
		
		while (iter.hasNext()) {
			Object element = iter.next();
			System.out.println(element);
			
		}
		
		
		System.out.println(myList);
	}

}
